var LifeBarView = Class.extend({
LifeBar : null,
el 		: null, //jQuery element
init: function(LifeBar)
{
	this.LifeBar = LifeBar;
	this.el = $("<div class='lifeBar'></>");
	$(".ScoreField").append(this.el);
	this.el.css({
		top  			 : this.LifeBar. top,
		left 			 : this.LifeBar.left
	});
	this.el.css('backgroundImage','url(images/lifeBarImage'+this.LifeBar.status+'.png)')
},
updateStatus: function()
{
	this.el.css('backgroundImage','url(images/lifeBarImage'+this.LifeBar.status+'.png)')
}
})